package cn.com.xiaoshoujia.company.service.impl;

import cn.com.xiaoshoujia.company.service.CompanyService;
import cn.com.xiaoshoujia.company.activity.CompanyActivity;
import cn.com.xiaoshoujia.company.entity.CompanyLogin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by yangrui on 2017/7/17.
 */
@Service
public class CompanyServiceImpl implements CompanyService {

    @Autowired
    private CompanyActivity companyActivity;

    @Override
    public CompanyLogin findById(Long id) {
        return companyActivity.findById(id);
    }
}
